import React, {Component} from 'react';
import {ScrollView} from 'react-native';
import {List, Flex} from '@ant-design/react-native';
const Item = List.Item;

export default class NewList extends Component {
    static navigationOptions = {
        title: '消息列表',
    };

    constructor(props) {
        super(props);
        this.state = {
            page_index: 1,
            page_size: 10,
            list: [],
        };
    }

    render() {
        return (
            <ScrollView>
                <Flex>
                    <List>
                        <Item />
                    </List>
                </Flex>
            </ScrollView>
        );
    }
}
